package mygang.service.manager;

import java.util.List;
import mygang.dao.manager.WizardDAO;
import mygang.model.constructor.Form;
import mygang.model.constructor.FormType;
import org.springframework.stereotype.Service;

/**
 *
 * @author Volodymyr Lavrynovych <volodya.lavrynovych@gmail.com>
 * date: 04/03/2013
 */
@Service("wizardService")
public class WizardServiceImpl <D extends WizardDAO> extends AbstractManageService<D, Form> implements WizardService {

    public List<FormType> getTypes() {
        return getDao().getTypes();
    }

    public FormType getTypeById(long id) {
        return getDao().getTypeById(id);
    }
}